<?php
class Form_BugReportListToolsForm extends Zend_Form
{
	public function init(){
		$options = array(
			0			=>	"None",
			'priority'	=>	'Priority',
			'status'	=>	'Status',
			'date'		=>	'Date',
			'url'		=>	'Url',
			'author'	=>	'Submitter'
		);
		
		$sort = new Zend_Form_Element_Select('sort', array('MultiOptions' => $options));
		$sort->setLabel('Sort Records');
		$this->addElement($sort);
		
		$filterField = new Zend_Form_Element_Select('filter_field', array("MultiOptions" => $options));
		$filterField->setLabel("Filter Field:");
		$this->addElement($filterField);
		
		$filter = new Zend_Form_Element_Text('filter');
		$this->addElement($filter);
		
		$this->addElement('submit', 'submit', array('label' => 'Update List'));
	}
}